package com.docMan.service;

import javax.ws.rs.FormParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

@Path("/FTP")
@Produces(MediaType.APPLICATION_JSON)
public interface FtpService  {
	/**
	 * 
	 * @param url
	 * @param port
	 * @param username
	 * @param password
	 * @param path
	 * @param fileName
	 * @return
	 */
	@Path("/getFtpFile")
	@POST
	abstract String getFtpFile(@FormParam("url") String url,
			@FormParam("port") int port,
			@FormParam("username") String username,
			@FormParam("password") String password,
			@FormParam("path") String path,
			@FormParam("fileName") String fileName);
}
